package fw.helpers;

import fw.ApplicationManager;

public class NavigationHelper {
	private final ApplicationManager app;

	public NavigationHelper(ApplicationManager app) {
		this.app = app;
	}

	public void openSite(String baseUrl) {
		app.getDriver().get(baseUrl);
	}

	public boolean isLoggedIn(String baseUrl) {
		return app.getDriver().getCurrentUrl().equals(baseUrl);
	}
}
